 <extend name="public/base" />

  <block name="wrapper">

    <div class="container">
        <div class="row">
            <div class="col-md-4 col-md-offset-4">
                <div class="login-panel panel panel-default">
                    <div class="panel-heading">
                        <h3 class="panel-title">后台图片管理</h3>
                    </div>
                    <div class="panel-body">


                   <form action="">
                    
                        <table border="500" border="1" cellspacing="0">
                          <tr>
                             <th>ID</th>                           <th>车ID</th>
                             <th>车图片</th>
                             <th>操作</th>
                          </tr>

                          <foreach name="data" item="vo">
                        <tr>
                              <td>{$vo['id']}</td>
                              <td>{$vo['cid']}</td>
                              <td>{$vo['cpic']}</td> 
                            <td>
                              <a href="{:U('Pic/upload')}">添加</a> |
                               <a href="{:U('Pic/update'),['id'=>$vo['id']]}"> 修改</a> |
                               <a href="{:U('Pic/delete'),['id'=>$vo['id']]}"> 删除</a> |
                                

                            </td>




                          </tr> 




                          </foreach>

                 





                        </table>






                   </form>


                   </div>
                </div>
            </div>
        </div>
    </div>


 </block>